//
//  MKPopoverCell.m
//  CDatePicker
//
//  Created by Min on 2023/12/10.
//

#import "MKPopoverCell.h"
#import "MKMacro.h"
#import <Masonry.h>

@implementation MKPopoverCell


- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]){
        self.numLabel = [[UILabel alloc]init];
        self.numLabel.textAlignment = NSTextAlignmentCenter;
        self.backgroundColor = [UIColor clearColor];
        [self.contentView addSubview:self.numLabel];
        
        self.selectionStyle = UITableViewCellSelectionStyleNone;
        
        [self.numLabel mas_makeConstraints:^(MASConstraintMaker *make) {
            make.edges.equalTo(self.contentView);
        }];
    }
    return self;
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
